package com.kqb.mapper;


import com.kqb.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;

@Mapper
public interface ForwarderUserMapper {

    /**
     * 添加货代用户
     *
     * @param user
     * @return
     */
    public int save(User user);

    /**
     * 删除id
     *
     * @param id
     * @return
     */
    public int delete(Serializable id);


    public int queryByName(String username);

    public User queryUserById(String id);

}
